package cn.tedu.csmall.product.webapi.service.impl;

import cn.tedu.csmall.pojo.entity.Goods;
import cn.tedu.csmall.pojo.entity.PmsSpu;
import cn.tedu.csmall.product.webapi.mapper.IGoodsMapper;
import cn.tedu.csmall.product.webapi.mapper.IGoodsMapper1;
import cn.tedu.csmall.product.webapi.service.IGoodsService1;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GoodsServiceImpL1 implements IGoodsService1 {

    @Autowired
    private IGoodsMapper1 goodsMapper1;

    @Override
    public List<Goods> findGoods(PmsSpu pmsSpu) {
        return goodsMapper1.findGoods(pmsSpu);
    }
}
